package com.shardingsphere.springbootshardingsphere.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shardingsphere.springbootshardingsphere.entity.Order;
import com.shardingsphere.springbootshardingsphere.vo.OrderVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description:
 * @author: ZeckZheng
 * @time: 2023/10/24 3:14
 */
@Mapper
public interface OrderMapper extends BaseMapper<Order> {

   List<Order> queryList(@Param("userId") Integer userId);

   List<OrderVo> queryOderAmount();


}
